package org.bee.oauth2.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

@ComponentScan("org.bee.oauth2.service.impl")
@MapperScan("org.bee.oauth2.dao")
@ComponentScan("org.bee.oauth2.controller")

@EnableDiscoveryClient

@EnableResourceServer
@SpringBootApplication
public class OauthApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(OauthApplication.class, args);
	}

}
